package com.dacainiao.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {

    @RequestMapping("/hellos")
    public String sayHello(){
        return "Hello,SpringBoot!";
    }

    @RequestMapping("/hellos2")
    public String hellos2(){
        return "Hello,hellos2!";
    }
}
